package com.example.boss.db.gen;

import android.provider.ContactsContract;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by 打好boss on 2018/6/18.
 */
@Entity(indexes = {
        @Index(value = "email, email ASC", unique = true)
})
public class diaryPwd {
    @Id(autoincrement = true)
    private Long id;

    @NotNull
    private String pwd;  //密码

    @NotNull
    private String email;//邮箱

public String getEmail() {
        return this.email;
}

public void setEmail(String email) {
        this.email = email;
}

public String getPwd() {
        return this.pwd;
}

public void setPwd(String pwd) {
        this.pwd = pwd;
}

public Long getId() {
        return this.id;
}

public void setId(Long id) {
        this.id = id;
}

@Generated(hash = 1227603750)
public diaryPwd(Long id, @NotNull String pwd, @NotNull String email) {
        this.id = id;
        this.pwd = pwd;
        this.email = email;
}

@Generated(hash = 1357341913)
public diaryPwd() {
}
}
